# -*- coding:utf-8 -*-
from rest_framework import serializers

from Apps.UiTest.models import UiTestCase


class UiTestCaseSer(serializers.ModelSerializer):
    run_status_display = serializers.CharField(source='get_run_status_display', read_only=True)

    class Meta:
        model = UiTestCase
        fields = "__all__"
